← Back to issue list

snapcraft cannot build snap by default on aarch64

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2012074
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
2023-03-17 14:35:58.391984+00:00
Updated
2023-03-21 20:21:00.968163+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

On aarch64 architecture calling the snapcraft command without additional options doesn't work. Indeed, snapcraft tries to launch a multipass instance based on the image snapcraft:core20. This image doesn't seem to exist on arm (not listed in `multipass list` on arm64 while listed on amd64) To reproduce this behaviour on an aarch64 ubuntu: sudo snap install snapcraft --classic snapcraft init snapcraft Then we get this error: Launching a VM. warning: "--mem" long option will be deprecated in favour of "--memory" in a future release.Please update any scripts, etc. launch failed: Unable to find an image matching "core20". Please use `multipass find` for supported remotes and images. An error occurred with the instance when trying to launch with 'multipass': returned exit code 2. Ensure that 'multipass' is setup correctly and try again. snapcraft --version snapcraft 7.3.1 cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.2 LTS"

Evaluation history

No evaluation history available.